//
//  songListCell.m
//  LastTemp
//
//  Created by dllo on 15/4/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "songListCell.h"
#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height

@implementation songListCell
-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        // 创建songListImageView
        self.songListImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, WIDTH)];
        [self.contentView addSubview:self.songListImageView];
        [_songListImageView release];
        // 创建songListLabel
        self.songListLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, WIDTH, WIDTH, 20)];
        [self.contentView addSubview:self.songListLabel];
        [_songListLabel release];
    }
    return self;
}
- (void)dealloc
{
    [_songListImageView release];
    [_songListLabel release];
    [super dealloc];
}
@end
